﻿using System;
using Kwan.Data.Mappings;
namespace BG.Data
{
    [Table("V_Collection")]
    public interface IVCollection
    {
        [ID]
        [IDENTITY]
        int EntityID { get; set; }


        [Column]
        string BillNO { get; set; }
        [Column]
        double CashPay { get; set; }
        [Column]
        double Change { get; set; }
        [Column]
        DateTime CreatedDate { get; set; }
        [Column]
        int CustomerID { get; set; }
        [Column]
        double Invoice { get; set; }
        [Column]
        string InvoiceNO { get; set; }
        [Column]
        string Memo { get; set; }
        [Column]
        int OrderID { get; set; }
        [Column]
        double Paid { get; set; }
        [Column]
        int Pid { get; set; }
        [Column]
        double PosPay { get; set; }
        [Column]
        int ProductID { get; set; }
        [Column]
        double Receivable { get; set; }
        [Column]
        double Received { get; set; }// 押金或其他费用
        [Column]
        int RoomID { get; set; }
        [Column]
        int Type { get; set; }
        [Column]
        int Status { get; set; }
        [Column]
        string UserID { get; set; }

        [Column]
        string RoomNO { get; set; }
        [Column]
        string UserName { get; set; }
        [Column]
        DateTime CheckInDate { get; set; }
    }
}